package com.huiyun.project.im.consts;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author bogon
 * @since 2020-07-17
 */

public class ImUserConst {
    /**
     * 是否初始化密码
     * 0.登录需要修改密码 1.正常
     */
    public static final Integer changePassword_1 = 1;
    public static final Integer changePassword_0 = 0;
    /**
     * 账号类型 1.普通账号 2.客服账号
     * 账号类型 1.企业主账号 2.个人账号 3.子账号 4。子账号客服
     */
    public static final Integer TYPE_1 = 1;

    public static final Integer TYPE_2 = 2;
    /**
     * 是否锁定
     * 0.正常 1.锁定
     */
    public static final Integer LOCK_FLAG_0 = 0;
    public static final Integer LOCK_FLAG_1 = 1;

    /**
     * 非客服账号的时候,客服组的默认值
     */
    public static final String USER_ORG_0 = "0";

    /**
     * 是否锁定
     * 0-正常，1-删除 , 2-长时间不用冻结
     */
    public static final Integer DEL_FLAG_0 = 0;
    public static final Integer DEL_FLAG_1 = 1;
    public static final Integer DEL_FLAG_2 = 2;


    public enum TYPE {

        TYPE_1(1, "普通账号"),

        TYPE_2(2, "客服账号"),;
        private Integer value;

        private String text;

        private TYPE(Integer value, String text) {
            this.value = value;
            this.text = text;
        }

        public Integer getValue() {
            return value;
        }

        public void setValue(Integer value) {
            this.value = value;
        }

        public String getText() {
            return text;
        }


        public void setText(String text) {
            this.text = text;
        }

    }

}
